| Einhugur macOS Bridge plugin. |
|
NSSliderTouchBarItem.Constructor Constructor
Constructor that takes in identifier, initial value, minimum value, maximum value and action handler.

Constructor(
identifier
as String,
initialValue
as Double,
minValue
as Double,
maxValue
as Double,
actionHandler
as SliderActionDelegate)
Parameters
- identifier
- Touch Bar item identifier.
- initialValue
- Initial value for the slider. This must be within the range of the passed in min and max values or the slider will be disabled.
- minValue
- Minimum value for the slider.
- maxValue
- Maximum value for the slider.
- actionHandler
- Action handler which takes in method that gives feedback to your application when slider value is changed by user interaction.
Remarks
See Also
NSSliderTouchBarItem Class